package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.domain.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {
    //员工登录
    Employee findByUsername(String username);

    List<Employee> find(String name);

    void save(Employee employee);

    Employee findById(Long id);

    //void update(Employee employee);
}
